/*
 *  Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
 *
 *  Use of this source code is governed by a BSD-style license
 *  that can be found in the LICENSE file in the root of the source
 *  tree. An additional intellectual property rights grant can be found
 *  in the file PATENTS.  All contributing project authors may
 *  be found in the AUTHORS file in the root of the source tree.
 */

#ifndef COMMON_VIDEO_INCLUDE_VIDEO_COMMON_TYPES_H_
#define COMMON_VIDEO_INCLUDE_VIDEO_COMMON_TYPES_H_

namespace webrtc {

enum VideoScaleMode {
  kModeScaleAspectFit,      // contents scaled to fit with fixed aspect, there maybe some black edges
  kModeScaleAspectFill,     // contents scaled to fill with fixed aspect, some content maybe clipped
  kModeScaleToFill,         // fullfill, maybe stretch content
  kModeScaleLandscape,      // crop when content is landscape, fit if not
  kModeScalePortrait,       // crop when content is portrait, fit if not
};

}

#endif  // COMMON_VIDEO_INCLUDE_VIDEO_COMMON_TYPES_H_